package com.xoa.dev.pz.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.xoa.model.enclosure.Attachment;
import com.xoa.dev.pz.model.PzPersonServiceWithBLOBs;
import com.xoa.dev.pz.model.PzPersonWithBLOBs;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class PzCorrection {
    private PzPersonWithBLOBs pzPerson;
    private List<PzPersonServiceWithBLOBs> pzPersonService;
    private String gridName;
    private String gridUserIds;
    private String gridUserNames;
    private String personName;
    private String personSex;
    private String personCradId;
    private String personAddress;
    private Integer cou;
    private String gridLocation;

    public String getGridLocation() {
        return gridLocation;
    }

    public void setGridLocation(String gridLocation) {
        this.gridLocation = gridLocation;
    }

    public Integer getCou() {
        return cou;
    }

    public void setCou(Integer cou) {
        this.cou = cou;
    }

    //附件集合
    List<Attachment> attachmentList;

    public String getPersonAddress() {
        return personAddress;
    }

    public void setPersonAddress(String personAddress) {
        this.personAddress = personAddress;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getPersonSex() {
        return personSex;
    }

    public void setPersonSex(String personSex) {
        this.personSex = personSex;
    }

    public String getPersonCradId() {
        return personCradId;
    }

    public void setPersonCradId(String personCradId) {
        this.personCradId = personCradId;
    }

    public void setPzPerson(PzPersonWithBLOBs pzPerson) {
        this.pzPerson = pzPerson;
    }

    public void setPzPersonService(List<PzPersonServiceWithBLOBs> pzPersonService) {
        this.pzPersonService = pzPersonService;
    }

    public void setGridName(String gridName) {
        this.gridName = gridName;
    }

    public void setGridUserIds(String gridUserIds) {
        this.gridUserIds = gridUserIds;
    }

    public void setGridUserNames(String gridUserNames) {
        this.gridUserNames = gridUserNames;
    }

    public PzPersonWithBLOBs getPzPerson() {

        return pzPerson;
    }

    public List<PzPersonServiceWithBLOBs> getPzPersonService() {
        return pzPersonService;
    }

    public String getGridName() {
        return gridName;
    }

    public String getGridUserIds() {
        return gridUserIds;
    }

    public String getGridUserNames() {
        return gridUserNames;
    }


    private int inputSuccess;//导入成功的条数

    private int inputFail;//导入失败的条数

    private String inputFailReason;//导入失败原因

    public void setInputSuccess(int inputSuccess) {
        this.inputSuccess = inputSuccess;
    }

    public void setInputFail(int inputFail) {
        this.inputFail = inputFail;
    }

    public void setInputFailReason(String inputFailReason) {
        this.inputFailReason = inputFailReason;
    }

    public int getInputSuccess() {

        return inputSuccess;
    }

    public int getInputFail() {
        return inputFail;
    }

    public String getInputFailReason() {
        return inputFailReason;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.CORRECTION_ID
     *
     * @mbggenerated
     */
    private Integer correctionId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.ACCEPT_WAY
     *
     * @mbggenerated
     */
    private String acceptWay;
    private String acceptWayStr;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.ATTENTION_LEVEL
     *
     * @mbggenerated
     */
    private String attentionLevel;
    private String attentionLevelStr;
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.DETENTION_ORIGINAL_PLACE
     *
     * @mbggenerated
     */
    private String detentionOriginalPlace;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.CRIME_TYPES
     *
     * @mbggenerated
     */
    private String crimeTypes;
    private String crimeTypesStr;
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.SPECIFIC_CHARGES
     *
     * @mbggenerated
     */
    private String specificCharges;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.FOUR_HISTORY_FLAG
     *
     * @mbggenerated
     */
    private String fourHistoryFlag;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.THREE_STAKEHOLDERS_FLAG
     *
     * @mbggenerated
     */
    private String threeStakeholdersFlag;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.REPEAT_OFFENDERS_FLAG
     *
     * @mbggenerated
     */
    private String repeatOffendersFlag;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.SENTENCE_CATEGORY
     *
     * @mbggenerated
     */
    private String sentenceCategory;
    private String sentenceCategoryStr;
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.ORIGINAL_SENTENCE
     *
     * @mbggenerated
     */
    private String originalSentence;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.ORIGINAL_SENTENCE_BEGIN_TIME
     *
     * @mbggenerated
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date originalSentenceBeginTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.ORIGINAL_SENTENCE_END_TIME
     *
     * @mbggenerated
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date originalSentenceEndTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.SENTENCE_BEGIN_TIME
     *
     * @mbggenerated
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date sentenceBeginTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.SENTENCE_END_TIME
     *
     * @mbggenerated
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date sentenceEndTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.RECENT_DESCRIPTION
     *
     * @mbggenerated
     */
    private String recentDescription;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.USER_ID
     *
     * @mbggenerated
     */
    private String userId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.GRID_ID
     *
     * @mbggenerated
     */
    private Integer gridId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.CREATE_USER
     *
     * @mbggenerated
     */
    private String createUser;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.CREATE_TIME
     *
     * @mbggenerated
     */
    private String createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.STR1
     *
     * @mbggenerated
     */
    private String str1;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_correction.STR2
     *
     * @mbggenerated
     */
    private String str2;


    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.CORRECTION_ID
     *
     * @return the value of pz_correction.CORRECTION_ID
     *
     * @mbggenerated
     */
    public Integer getCorrectionId() {
        return correctionId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.CORRECTION_ID
     *
     * @param correctionId the value for pz_correction.CORRECTION_ID
     *
     * @mbggenerated
     */
    public void setCorrectionId(Integer correctionId) {
        this.correctionId = correctionId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.ACCEPT_WAY
     *
     * @return the value of pz_correction.ACCEPT_WAY
     *
     * @mbggenerated
     */
    public String getAcceptWay() {
        return acceptWay;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.ACCEPT_WAY
     *
     * @param acceptWay the value for pz_correction.ACCEPT_WAY
     *
     * @mbggenerated
     */
    public void setAcceptWay(String acceptWay) {
        this.acceptWay = acceptWay == null ? null : acceptWay.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.ATTENTION_LEVEL
     *
     * @return the value of pz_correction.ATTENTION_LEVEL
     *
     * @mbggenerated
     */
    public String getAttentionLevel() {
        return attentionLevel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.ATTENTION_LEVEL
     *
     * @param attentionLevel the value for pz_correction.ATTENTION_LEVEL
     *
     * @mbggenerated
     */
    public void setAttentionLevel(String attentionLevel) {
        this.attentionLevel = attentionLevel == null ? null : attentionLevel.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.DETENTION_ORIGINAL_PLACE
     *
     * @return the value of pz_correction.DETENTION_ORIGINAL_PLACE
     *
     * @mbggenerated
     */
    public String getDetentionOriginalPlace() {
        return detentionOriginalPlace;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.DETENTION_ORIGINAL_PLACE
     *
     * @param detentionOriginalPlace the value for pz_correction.DETENTION_ORIGINAL_PLACE
     *
     * @mbggenerated
     */
    public void setDetentionOriginalPlace(String detentionOriginalPlace) {
        this.detentionOriginalPlace = detentionOriginalPlace == null ? null : detentionOriginalPlace.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.CRIME_TYPES
     *
     * @return the value of pz_correction.CRIME_TYPES
     *
     * @mbggenerated
     */
    public String getCrimeTypes() {
        return crimeTypes;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.CRIME_TYPES
     *
     * @param crimeTypes the value for pz_correction.CRIME_TYPES
     *
     * @mbggenerated
     */
    public void setCrimeTypes(String crimeTypes) {
        this.crimeTypes = crimeTypes == null ? null : crimeTypes.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.SPECIFIC_CHARGES
     *
     * @return the value of pz_correction.SPECIFIC_CHARGES
     *
     * @mbggenerated
     */
    public String getSpecificCharges() {
        return specificCharges;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.SPECIFIC_CHARGES
     *
     * @param specificCharges the value for pz_correction.SPECIFIC_CHARGES
     *
     * @mbggenerated
     */
    public void setSpecificCharges(String specificCharges) {
        this.specificCharges = specificCharges == null ? null : specificCharges.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.FOUR_HISTORY_FLAG
     *
     * @return the value of pz_correction.FOUR_HISTORY_FLAG
     *
     * @mbggenerated
     */
    public String getFourHistoryFlag() {
        return fourHistoryFlag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.FOUR_HISTORY_FLAG
     *
     * @param fourHistoryFlag the value for pz_correction.FOUR_HISTORY_FLAG
     *
     * @mbggenerated
     */
    public void setFourHistoryFlag(String fourHistoryFlag) {
        this.fourHistoryFlag = fourHistoryFlag == null ? null : fourHistoryFlag.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.THREE_STAKEHOLDERS_FLAG
     *
     * @return the value of pz_correction.THREE_STAKEHOLDERS_FLAG
     *
     * @mbggenerated
     */
    public String getThreeStakeholdersFlag() {
        return threeStakeholdersFlag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.THREE_STAKEHOLDERS_FLAG
     *
     * @param threeStakeholdersFlag the value for pz_correction.THREE_STAKEHOLDERS_FLAG
     *
     * @mbggenerated
     */
    public void setThreeStakeholdersFlag(String threeStakeholdersFlag) {
        this.threeStakeholdersFlag = threeStakeholdersFlag == null ? null : threeStakeholdersFlag.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.REPEAT_OFFENDERS_FLAG
     *
     * @return the value of pz_correction.REPEAT_OFFENDERS_FLAG
     *
     * @mbggenerated
     */
    public String getRepeatOffendersFlag() {
        return repeatOffendersFlag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.REPEAT_OFFENDERS_FLAG
     *
     * @param repeatOffendersFlag the value for pz_correction.REPEAT_OFFENDERS_FLAG
     *
     * @mbggenerated
     */
    public void setRepeatOffendersFlag(String repeatOffendersFlag) {
        this.repeatOffendersFlag = repeatOffendersFlag == null ? null : repeatOffendersFlag.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.SENTENCE_CATEGORY
     *
     * @return the value of pz_correction.SENTENCE_CATEGORY
     *
     * @mbggenerated
     */
    public String getSentenceCategory() {
        return sentenceCategory;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.SENTENCE_CATEGORY
     *
     * @param sentenceCategory the value for pz_correction.SENTENCE_CATEGORY
     *
     * @mbggenerated
     */
    public void setSentenceCategory(String sentenceCategory) {
        this.sentenceCategory = sentenceCategory == null ? null : sentenceCategory.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.ORIGINAL_SENTENCE
     *
     * @return the value of pz_correction.ORIGINAL_SENTENCE
     *
     * @mbggenerated
     */
    public String getOriginalSentence() {
        return originalSentence;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.ORIGINAL_SENTENCE
     *
     * @param originalSentence the value for pz_correction.ORIGINAL_SENTENCE
     *
     * @mbggenerated
     */
    public void setOriginalSentence(String originalSentence) {
        this.originalSentence = originalSentence == null ? null : originalSentence.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.ORIGINAL_SENTENCE_BEGIN_TIME
     *
     * @return the value of pz_correction.ORIGINAL_SENTENCE_BEGIN_TIME
     *
     * @mbggenerated
     */
    public Date getOriginalSentenceBeginTime() {
        return originalSentenceBeginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.ORIGINAL_SENTENCE_BEGIN_TIME
     *
     * @param originalSentenceBeginTime the value for pz_correction.ORIGINAL_SENTENCE_BEGIN_TIME
     *
     * @mbggenerated
     */
    public void setOriginalSentenceBeginTime(Date originalSentenceBeginTime) {
        this.originalSentenceBeginTime = originalSentenceBeginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.ORIGINAL_SENTENCE_END_TIME
     *
     * @return the value of pz_correction.ORIGINAL_SENTENCE_END_TIME
     *
     * @mbggenerated
     */
    public Date getOriginalSentenceEndTime() {
        return originalSentenceEndTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.ORIGINAL_SENTENCE_END_TIME
     *
     * @param originalSentenceEndTime the value for pz_correction.ORIGINAL_SENTENCE_END_TIME
     *
     * @mbggenerated
     */
    public void setOriginalSentenceEndTime(Date originalSentenceEndTime) {
        this.originalSentenceEndTime = originalSentenceEndTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.SENTENCE_BEGIN_TIME
     *
     * @return the value of pz_correction.SENTENCE_BEGIN_TIME
     *
     * @mbggenerated
     */
    public Date getSentenceBeginTime() {
        return sentenceBeginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.SENTENCE_BEGIN_TIME
     *
     * @param sentenceBeginTime the value for pz_correction.SENTENCE_BEGIN_TIME
     *
     * @mbggenerated
     */
    public void setSentenceBeginTime(Date sentenceBeginTime) {
        this.sentenceBeginTime = sentenceBeginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.SENTENCE_END_TIME
     *
     * @return the value of pz_correction.SENTENCE_END_TIME
     *
     * @mbggenerated
     */
    public Date getSentenceEndTime() {
        return sentenceEndTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.SENTENCE_END_TIME
     *
     * @param sentenceEndTime the value for pz_correction.SENTENCE_END_TIME
     *
     * @mbggenerated
     */
    public void setSentenceEndTime(Date sentenceEndTime) {
        this.sentenceEndTime = sentenceEndTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.RECENT_DESCRIPTION
     *
     * @return the value of pz_correction.RECENT_DESCRIPTION
     *
     * @mbggenerated
     */
    public String getRecentDescription() {
        return recentDescription;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.RECENT_DESCRIPTION
     *
     * @param recentDescription the value for pz_correction.RECENT_DESCRIPTION
     *
     * @mbggenerated
     */
    public void setRecentDescription(String recentDescription) {
        this.recentDescription = recentDescription == null ? null : recentDescription.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.USER_ID
     *
     * @return the value of pz_correction.USER_ID
     *
     * @mbggenerated
     */
    public String getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.USER_ID
     *
     * @param userId the value for pz_correction.USER_ID
     *
     * @mbggenerated
     */
    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.GRID_ID
     *
     * @return the value of pz_correction.GRID_ID
     *
     * @mbggenerated
     */
    public Integer getGridId() {
        return gridId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.GRID_ID
     *
     * @param gridId the value for pz_correction.GRID_ID
     *
     * @mbggenerated
     */
    public void setGridId(Integer gridId) {
        this.gridId = gridId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.CREATE_USER
     *
     * @return the value of pz_correction.CREATE_USER
     *
     * @mbggenerated
     */
    public String getCreateUser() {
        return createUser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.CREATE_USER
     *
     * @param createUser the value for pz_correction.CREATE_USER
     *
     * @mbggenerated
     */
    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.CREATE_TIME
     *
     * @return the value of pz_correction.CREATE_TIME
     *
     * @mbggenerated
     */
    public String getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.CREATE_TIME
     *
     * @param createTime the value for pz_correction.CREATE_TIME
     *
     * @mbggenerated
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.STR1
     *
     * @return the value of pz_correction.STR1
     *
     * @mbggenerated
     */
    public String getStr1() {
        return str1;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.STR1
     *
     * @param str1 the value for pz_correction.STR1
     *
     * @mbggenerated
     */
    public void setStr1(String str1) {
        this.str1 = str1 == null ? null : str1.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_correction.STR2
     *
     * @return the value of pz_correction.STR2
     *
     * @mbggenerated
     */
    public String getStr2() {
        return str2;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_correction.STR2
     *
     * @param str2 the value for pz_correction.STR2
     *
     * @mbggenerated
     */
    public void setStr2(String str2) {
        this.str2 = str2 == null ? null : str2.trim();
    }

    public List<Attachment> getAttachmentList() {
        return attachmentList;
    }

    public void setAttachmentList(List<Attachment> attachmentList) {
        this.attachmentList = attachmentList;
    }

    public String getAcceptWayStr() {
        return acceptWayStr;
    }

    public void setAcceptWayStr(String acceptWayStr) {
        this.acceptWayStr = acceptWayStr;
    }

    public String getAttentionLevelStr() {
        return attentionLevelStr;
    }

    public void setAttentionLevelStr(String attentionLevelStr) {
        this.attentionLevelStr = attentionLevelStr;
    }

    public String getCrimeTypesStr() {
        return crimeTypesStr;
    }

    public void setCrimeTypesStr(String crimeTypesStr) {
        this.crimeTypesStr = crimeTypesStr;
    }

    public String getSentenceCategoryStr() {
        return sentenceCategoryStr;
    }

    public void setSentenceCategoryStr(String sentenceCategoryStr) {
        this.sentenceCategoryStr = sentenceCategoryStr;
    }
}